ARM: GICv3: allocate LPI pending and property table
authorAndre Przywara <andre.przywara@arm.com>
Fri, 7 Apr 2017 22:07:55 +0000 (23:07 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 7 Apr 2017 22:15:29 +0000 (15:15 -0700)
commitc9b939863c8914af10b9e0c4fbf8054fedf2c72d
tree5e976d11ae746f57b353e8f3a8eb9fbe629a8d26
parent66d0ee1dee44dac8c22eaec82a88ad16ea1aa873
ARM: GICv3: allocate LPI pending and property table

The ARM GICv3 provides a new kind of interrupt called LPIs.
The pending bits and the configuration data (priority, enable bits) for
those LPIs are stored in tables in normal memory, which software has to
provide to the hardware.
Allocate the required memory, initialize it and hand it over to each
redistributor. The maximum number of LPIs to be used can be adjusted with
the command line option "max_lpi_bits", which defaults to 20 bits,
covering about one million LPIs.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
docs/misc/xen-command-line.markdown
xen/arch/arm/Makefile
xen/arch/arm/gic-v3-lpi.c [new file with mode: 0644]
xen/arch/arm/gic-v3.c
xen/include/asm-arm/gic_v3_defs.h
xen/include/asm-arm/gic_v3_its.h
xen/include/asm-arm/irq.h